package org.example.service;

import com.baomidou.mybatisplus.extension.api.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author TonySong
 * @date 2024/6/27 0027
 * @time 11:44
 */
@FeignClient(value = "book-model-8081",path = "book")
public interface BookFeignService {

    @GetMapping("/")
    public R getBooks();
}
